<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div id="app">
    {{msg}}
    {{count}}
    <br>
    你好呀
    <div>{{count}}</div>
    <div v-text="count">sssssss</div>
    <!-- <input type="text" v-text="msg"> -->
    <!-- <div>
      我是张娟
      <p>有你了不起</p>
    </div> -->
  </div>
  <script src="./complier.js"></script>
  <script src="./observer.js"></script>
  <script src="./vue.js"></script>
  <script>
    let vm = new Vue({
      el: '#app',
      data: {
        msg: {
          type: 1,
          text: 'hello world'
        },
        count: 10
      }
    })
    console.log(vm.msg);
    vm.msg.text = {
      a: '2',
      b: 5
    }
  </script>
</body>

</html>